source /home/work_nfs7/xlgeng/.bashrc
dir=/home/work_nfs8/xlgeng/new_workspace/wenet_gxl_salmonn/examples/aishell/salmonn/exp/salmonn_v15/5_epoch_ICL_train
mkdir -p $dir
train_config=conf/train_salmonn_v15.yaml
test_data_dir="/home/work_nfs8/xlgeng/data/scp_test"
test_sets="speechio_0 speechio_1 speechio_2 speechio_3 speechio_4"
test_sets1="speechio_1"
test_sets2="speechio_3"
test_sets3="speechio_1 speechio_3"
decode_checkpoint_name="step_29988"
decode_checkpoint=$dir/"${decode_checkpoint_name}".pt
decode_checkpoint_name="step_44268_with_label"
stage=5
stop_stage=5


echo "final checkpoint is $decode_checkpoint"
test_sets1=$(echo "$test_sets1" | sed 's/ /--/g')
test_sets2=$(echo "$test_sets2" | sed 's/ /--/g')
test_sets3=$(echo "$test_sets3" | sed 's/ /--/g')
gxl_num="01_speechio_ICL_with_label"

prompt_types_1="long_prompt_ICL_with_label"
prompt_types_2="long_prompt_ICL_with_label_reverse"
prompt_types_3="common_prompt_ICL_with_label"
#prompt 我是。。解说员，，，，。如下是几个音频示例，示例一：<speech>,示例二：<speech> ,请参考上面的示例，转入如下音频：

my_named_nohup "${gxl_num}_01" ./recognize_speechio.sh --gpu_id 1 --dir $dir --train_config "$train_config" --decode_checkpoint "$decode_checkpoint" --decode_checkpoint_name "$decode_checkpoint_name" --stage $stage --stop_stage $stop_stage --test_data_dir "$test_data_dir" --prompt_types "$prompt_types_1" --test_sets "$test_sets3"
my_named_nohup "${gxl_num}_02" ./recognize_speechio.sh --gpu_id 2 --dir $dir --train_config "$train_config" --decode_checkpoint "$decode_checkpoint" --decode_checkpoint_name "$decode_checkpoint_name" --stage $stage --stop_stage $stop_stage --test_data_dir "$test_data_dir" --prompt_types "$prompt_types_2" --test_sets "$test_sets3"
my_named_nohup "${gxl_num}_03" ./recognize_speechio.sh --gpu_id 0 --dir $dir --train_config "$train_config" --decode_checkpoint "$decode_checkpoint" --decode_checkpoint_name "$decode_checkpoint_name" --stage $stage --stop_stage $stop_stage --test_data_dir "$test_data_dir" --prompt_types "$prompt_types_3" --test_sets "$test_sets3"

